@import url(base.less);
@baseSize : 3.75vmin;

.suspension {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1;

    .m-navbar {
        margin: 0 (12/@baseSize) 0 (18/@baseSize);
        display: flex;
        justify-content: space-between;
        height: (44/@baseSize);
        align-items: center;

        .logo i {
            font-size: (28/@baseSize);
            color: #fb7299;
        }

        .right {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .search {
                color: #ccc;

                i {
                    font-size: (22/@baseSize);
                }
            }

            .face {
                width: (24/@baseSize);
                height: (24/@baseSize);
                border-radius: (12/@baseSize);
                overflow: hidden;
                margin: 0 (20/@baseSize);
            }

            .app-btn {
                width: (72/@baseSize);
                height: (24/@baseSize);
            }
        }


    }

    .channel-menu {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: (40/@baseSize);

    }
}

.channel-menu {

    display: flex;
    justify-content: space-between;
    align-items: center;
    height: (40/@baseSize);
    border-bottom: 1px solid #e7e7e7;
    position: relative;

    .tabs {
        flex: 1;
        overflow: hidden;

        .tabs-list {
            display: flex;

            a {
                height: (40/@baseSize);
                line-height: (40/@baseSize);
                padding: 0 (16/@baseSize);
                white-space: nowrap;
                font-size: (14/@baseSize);
            }

            .line {
                width: (28/@baseSize);
                height: 2px;
                background-color: #fb7299;
                position: absolute;
                left: (16/@baseSize);
                bottom: 0;
            }
        }
    }

    .after {
        width: (40/@baseSize);
        height: (39/@baseSize);
        text-align: center;
        line-height: (39/@baseSize);
        color: #ccc;
        position: relative;

        i {
            font-size: (20/@baseSize);
        }
    }
}

.m-home {
    padding: (85/@baseSize) (5/@baseSize) 0;

    .video-list {
        display: flex;
        flex-wrap: wrap;

        .video-item {
            width: 50%;
            height: (150/@baseSize);
            padding: (8/@baseSize) (5/@baseSize);

            .card {
                height: (97/@baseSize);
                position: relative;

                .count {
                    left: 0;
                    bottom: 0;
                    width: 100%;
                    position: absolute;
                    height: (27/@baseSize);
                    padding: 0 (5/@baseSize);
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    font-size: (12/@baseSize);
                    color: #fff;
                    background: linear-gradient(transparent, rgba(0, 0, 0, .3));

                    span {
                        display: flex;
                        align-items: center;
                    }
                }

            }

            .title {
                width: 100%;
                margin-top: (5/@baseSize);
                font-size: (12/@baseSize);
            }
        }
    }
}

.down {
    position: fixed;
    left: 0;
    bottom: (27/@baseSize);
    width: (350/@baseSize);
    height: (37/@baseSize);
    line-height: (37/@baseSize);
    background-color: #fb7299;
    margin: 0 (12/@baseSize);
    border-radius: (37/@baseSize);
    box-shadow: 0 (2/@baseSize) (10/@baseSize) rgba(0, 0, 0, .3);
    color: #fff;
    text-align: center;
    line-height: (37/@baseSize);

    span {
        font-size: (14 / @baseSize);
    }
}

.ellipsis-2 {
    width: 200px;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* 这里是超出几行省略 */
    overflow: hidden;
}